package com.hsxshop.serviceimpl;

import com.hsxshop.dao.BaseDao;
import com.hsxshop.model.News;
import com.hsxshop.service.NewsService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * Created by wangchongya on 17/5/9.
 */

@Service("newsService")
public class NewsServiceImpl extends BaseServiceImpl<News> implements NewsService{
    @Resource(name = "newsDao")
    public void setDao(BaseDao<News> dao) {
        super.setDao(dao);
    }

}
